﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PPTApplyList.aspx.cs" Inherits="BOH.Information.PPTApplyList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../js/common.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="divNavigation">
        当前位置:<a href="OverView.aspx" target="frameControl">信息采集系统</a> >> 当前年度申报信息PPT列表
    </div>
    <div id="bodyDiv" style="width: 900px;">
        <div id="divSearch">
            <center>
                <div style="width: 98%; text-align: left;">
                    <b>查询条件</b></div>
                <table width="98%" class="Grid">
                    <tr>
                        <td align="right">
                            评审系列
                        </td>
                        <td colspan="3" align="left">
                            <asp:DropDownList ID="drpApplyStyle" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drpApplyStyle_SelectedIndexChanged">
                                <asp:ListItem Text="高级评委会" Value="G"></asp:ListItem>
                                <asp:ListItem Text="社区评委会" Value="S"></asp:ListItem>
                            </asp:DropDownList>
                            <td>
                    </tr>
                    <tr>
                        <td align="right">
                            主管局
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpGovern" runat="server" OnSelectedIndexChanged="drpGovern_SelectedIndexChanged"
                                AutoPostBack="true">
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            工作单位
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpUnit" runat="server">
                                <asp:ListItem Text="请选择工作单位" Value="-1"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 120px;">
                            身份证号
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtIDCard" Height="20px" runat="server" MaxLength="18"></asp:TextBox>
                        </td>
                        <td align="right" style="width: 120px;">
                            姓&nbsp;&nbsp;&nbsp;名
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtApplyName" Height="20px" runat="server" Width="80px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 120px;">
                            申报类型
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpApplyType" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            申报职称
                        </td>
                        <td align="left" colspan="3">
                            <asp:DropDownList ID="drpApplyJobRank" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            申报学科组
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpSubject" runat="server" OnSelectedIndexChanged="drpSubject_SelectedIndexChanged"
                                AutoPostBack="true">
                                <asp:ListItem Text="请选择学科组" Value="-1"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            申报专业
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpSpeciality" runat="server">
                                <asp:ListItem Text="请选择申报专业" Value="-1"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            是否上传PPT
                        </td>
                        <td align="left"  colspan="3">
                            <asp:DropDownList ID="drpIsUploadPPT" runat="server">
                                <asp:ListItem Text="未上传" Value="false"></asp:ListItem>
                                <asp:ListItem Text="上   传" Value="true"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
            </center>
            <p>
                <asp:Button ID="butSearch" runat="server" Text="查询" Width="100px" OnClick="butSearch_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <%--<input type="button" id="butNewApply" value="新增" onclick="window.location='NewApply.aspx';"
                    style="width: 100px" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--%>
                <%--                <asp:Button ID="butDelete" runat="server" Text="删除" Width="100px" OnClick="butDelete_Click" />--%>
            </p>
        </div>
        <div id="divGrid">
            <span runat="server" id="spanTotalNo" visible="false">共有
                <asp:Label ID="labTotalNo" runat="server"></asp:Label>
                条记录</span>
            <asp:HiddenField ID="hiddenSelected" runat="server" />
            <asp:GridView ID="ApplyViewList" runat="server" AutoGenerateColumns="False" Width="980px"
                CssClass="Grid" AllowPaging="True" PageSize="15" OnDataBound="ApplyViewList_DataBound"
                OnRowCreated="ApplyViewList_RowCreated">
                <PagerSettings Mode="NumericFirstLast" />
                <Columns>
                    <asp:TemplateField HeaderText="查看">
                        <ItemTemplate>
                            <asp:HyperLink ID="ShowPPT" NavigateUrl='<%#Eval("PPTViewPath")%>' runat="server" Visible='<%#Convert.ToBoolean(Eval("PPT"))%>' Target="_blank">查看</asp:HyperLink>
                            <%--<asp:Label runat="server" ID="labPPTFlag" Text='<%#Eval("PPTIsUpload") %>'></asp:Label>--%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="上传">
                        <ItemTemplate>
                            <a href="PPTUpload.aspx?ID=<%#Eval("ApplyID") %>" target="frameControl">上传</a>
                            <asp:HiddenField ID="HID" runat="server" Value='<%#Eval("ApplyID") %>' />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="评审系列">
                        <HeaderStyle Width="120px" />
                        <ItemStyle Width="120px" />
                        <ItemTemplate>
                            <asp:Label ID="labApplyStyle" Text='<%#Eval("ApplyStyleName") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="工作单位">
                        <ItemTemplate>
                            <asp:Label ID="labGovrenUnit" Text='<%#Eval("UnitGovernName") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="姓 名">
                        <ItemTemplate>
                            <asp:Label ID="labApplyName" Text='<%#Eval("Apply_Name") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="性  别">
                        <ItemTemplate>
                            <asp:Label ID="labGender" Text='<%#Eval("Gender") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="学 历">
                        <ItemTemplate>
                            <asp:Label ID="labEducationLevel" Text='<%#Eval("EducationLevel") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="身份证号">
                        <ItemTemplate>
                            <asp:Label ID="LabIDCard" Text='<%#Eval("IDCard") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="申报职称">
                        <ItemTemplate>
                            <asp:Label ID="labJobRankName" Text='<%#Eval("JobRankName") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="申报专业">
                        <ItemTemplate>
                            <asp:Label ID="labSpecialityName" Text='<%#Eval("Speciality") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="申报类型">
                        <ItemTemplate>
                            <asp:Label ID="labApplyType" Text='<%#Eval("ApplyType") %>' runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <AlternatingRowStyle CssClass="ARow" />
            </asp:GridView>
            <div id="divPager">
                <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="15" AlwaysShow="True"
                    OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="30%"
                    ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
